package cate.common.table.activity.dungeonup;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass(value = "特殊控制")
public class DUSpecialControlSheet extends ESheet<DUSpecialControlRow> {
    @Override
    public String getSheetName() {
        return "特殊控制";
    }

    public DUSpecialControlRow getByFloorConfigId(int floor, int configId) {
        for (DUSpecialControlRow row : list) {
            if (row.floor == floor && row.configId == configId){
                return row;
            }
        }
        return null;
    }
}
